Optimal. Leaf size=113 \[ x \left (a-b x^n\right )^p \left (a+b x^n\right )^p \left (1-\frac{b^2 x^{2 n}}{a^2}\right )^{-p} \left (c+d x^{2 n}\right )^q \left (\frac{d x^{2 n}}{c}+1\right )^{-q} F_1\left (\frac{1}{2 n};-p,-q;\frac{1}{2} \left (2+\frac{1}{n}\right );\frac{b^2 x^{2 n}}{a^2},-\frac{d x^{2 n}}{c}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.23465, antiderivative size = 113, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097 \[ x \left (a-b x^n\right )^p \left (a+b x^n\right )^p \left (1-\frac{b^2 x^{2 n}}{a^2}\right )^{-p} \left (c+d x^{2 n}\right )^q \left (\frac{d x^{2 n}}{c}+1\right )^{-q} F_1\left (\frac{1}{2 n};-p,-q;\frac{1}{2} \left (2+\frac{1}{n}\right );\frac{b^2 x^{2 n}}{a^2},-\frac{d x^{2 n}}{c}\right ) \]
Antiderivative was successfully verified.
[In] Int[(a - b*x^n)^p*(a + b*x^n)^p*(c + d*x^(2*n))^q,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 37.8593, size = 88, normalized size = 0.78 \[ x \left (1 - \frac{b^{2} x^{2 n}}{a^{2}}\right )^{- p} \left (1 + \frac{d x^{2 n}}{c}\right )^{- q} \left (a - b x^{n}\right )^{p} \left (a + b x^{n}\right )^{p} \left (c + d x^{2 n}\right )^{q} \operatorname{appellf_{1}}{\left (\frac{1}{2 n},- p,- q,\frac{n + \frac{1}{2}}{n},\frac{b^{2} x^{2 n}}{a^{2}},- \frac{d x^{2 n}}{c} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a-b*x**n)**p*(a+b*x**n)**p*(c+d*x**(2*n))**q,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.370362, size = 0, normalized size = 0. \[ \int \left (a-b x^n\right )^p \left (a+b x^n\right )^p \left (c+d x^{2 n}\right )^q \, dx \]
Verification is Not applicable to the result.
[In] Integrate[(a - b*x^n)^p*(a + b*x^n)^p*(c + d*x^(2*n))^q,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.813, size = 0, normalized size = 0. \[ \int \left ( a-b{x}^{n} \right ) ^{p} \left ( a+b{x}^{n} \right ) ^{p} \left ( c+d{x}^{2\,n} \right ) ^{q}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a-b*x^n)^p*(a+b*x^n)^p*(c+d*x^(2*n))^q,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (d x^{2 \, n} + c\right )}^{q}{\left (b x^{n} + a\right )}^{p}{\left (-b x^{n} + a\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^(2*n) + c)^q*(b*x^n + a)^p*(-b*x^n + a)^p,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (d x^{2 \, n} + c\right )}^{q}{\left (b x^{n} + a\right )}^{p}{\left (-b x^{n} + a\right )}^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^(2*n) + c)^q*(b*x^n + a)^p*(-b*x^n + a)^p,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a-b*x**n)**p*(a+b*x**n)**p*(c+d*x**(2*n))**q,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (d x^{2 \, n} + c\right )}^{q}{\left (b x^{n} + a\right )}^{p}{\left (-b x^{n} + a\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x^(2*n) + c)^q*(b*x^n + a)^p*(-b*x^n + a)^p,x, algorithm="giac")
[Out]